bin_PROGRAMS=client server

CLIENT_OBJECTS=client.py
SERVER_OBJECTS=server.py
C_API_PATH=../../../pytipc/build/lib*

if TIPC_STANDALONE
client$(EXEEXT):
	$(PYTHON) -m PyInstaller --onefile --noconfirm $(CLIENT_OBJECTS) -p $(C_API_PATH)

server$(EXEEXT):
	$(PYTHON) -m PyInstaller --onefile --noconfirm $(SERVER_OBJECTS) -p $(C_API_PATH)
endif

clean-generic:
	rm -rf build dist __pycache__ *.spec
